import { defAxios as request } from '@/utils/http'
//删除评审任务
export function reviewtaskDeleteData(params) {
    return request({
        url: '/reviewtask/delete',
        method: 'post',
        data: params
    })
}
//获取单个评审任务数据
export function reviewtaskGetData(taskId) {
    return request({
        url: `/reviewtask/get/${taskId}`,
        method: 'get',
    })
}
//保存评审任务
export function reviewtaskSaveData(params) {
    return request({
        url: '/reviewtask/save',
        method: 'post',
        data: params
    })
}
//启用评审任务
export function reviewtaskStartTaskData(params) {
    return request({
        url: '/reviewtask/startTask',
        method: 'post',
        data: params
    })
}
//停用评审任务
export function reviewtaskStopTaskData(params) {
    return request({
        url: '/reviewtask/stopTask',
        method: 'post',
        data: params
    })
}